﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

namespace EcoSystem
{
    /// <summary>
    /// 组件参数对象
    /// </summary>
    [NotMapped]
    [Serializable]
    public class ComponentOptions
    {
        /// <summary>
        /// 组件名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 样式名
        /// </summary>
        public string ClassName { get; set; }

        /// <summary>
        /// 样式属性
        /// </summary>
        public Dictionary<string, string> Styles { get; set; }

        /// <summary>
        /// 其它属性
        /// </summary>
        public Dictionary<string, object> Props { get; set; }
    }
}
